package com.lxp.userms.mapper;

import com.lxp.userms.entity.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    List<Category> getAllCategories();
    void addCategory(Category category);
    int deleteCategoryById(int id);
}